package com.ruoyi.hotel.domain.dto;

import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.hotel.domain.HlMember;
import com.ruoyi.hotel.domain.HlState;
import com.ruoyi.hotel.domain.HlUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;



public class HlAdminCommissionDTO extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 提成id */
    private Integer id;

    /** 用户id */
    private Integer userId;

    /** 会员id */
    private Integer memberId;

    /** 状态id */
    private Integer stateId;

    /** 提成计价 */
    private Double discount;

    /** 状态实体类 */
    private HlState state;

    /** 用户实体类 */
    private HlUser user;

    /** 会员信息实体类 */
    private HlMember member;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Integer getStateId() {
        return stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    public HlUser getUser() {
        return user;
    }

    public void setUser(HlUser user) {
        this.user = user;
    }

    public HlMember getMember() {
        return member;
    }

    public void setMember(HlMember member) {
        this.member = member;
    }

    public HlState getState() {
        return state;
    }

    public void setState(HlState state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("userId", getUserId())
                .append("memberId", getMemberId())
                .append("stateId", getStateId())
                .append("discount", getDiscount())
                .append("user", getUser())
                .append("member", getMember())
                .append("state", getState())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("updateBy", getUpdateBy())
                .append("createTime", getCreateTime())
                .append("updateTime", getUpdateTime())
                .toString();
    }


}
